package com.huangjian.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true)  //链式写法
//所有的实体类务必实现序列化,通讯需求
public class Order implements Serializable {
    private static final long serialVersionUID = 708560364349809174L;
    private Integer oid;
    private String oname;
    private Integer onum;
    }

